Skip to content

[codex] Align deploy script with release workflow#205

Merged
iskandr merged 1 commit into
masterfrom
fix-deploy-script-workflow
May 5, 2026
Merged

[codex] Align deploy script with release workflow#205
iskandr merged 1 commit into
masterfrom
fix-deploy-script-workflow

Conversation

@iskandr
Copy link
Copy Markdown
Contributor

@iskandr iskandr commented May 5, 2026

Summary

  • replace the minimal deploy shell chain with a guarded release script
  • refuse deploys outside main/master and refuse dirty working trees
  • use the active Python environment instead of Homebrew/system python3 pip installs
  • support optional version bump commits via ./deploy.sh
  • build/upload with python -m build and python -m twine, then tag and push v
  • bump mhctools to 3.13.5

Fixes #202.

Validation

  • python -m pytest tests/test_deploy_script.py
  • ./lint.sh
  • ./test.sh
  • manual branch guard: ./deploy.sh on fix-deploy-script-workflow exits before deploy with the expected non-main/non-master error

@iskandr iskandr marked this pull request as ready for review May 5, 2026 12:42
@iskandr iskandr merged commit 9676262 into master May 5, 2026
4 checks passed
@iskandr iskandr deleted the fix-deploy-script-workflow branch May 5, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Align deploy.sh with documented release workflow

1 participant